package com.oracle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oracle.pojo.PhRole;
import com.oracle.pojo.PhRoleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PhRoleMapper  extends BaseMapper<PhRole> {
    int counPhyExample(PhRoleExample example);

    int deleteByExample(PhRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PhRole record);

    int insertSelective(PhRole record);

    List<PhRole> selecPhyExample(PhRoleExample example);

    PhRole selecPhyPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PhRole record, @Param("example") PhRoleExample example);

    int updateByExample(@Param("record") PhRole record, @Param("example") PhRoleExample example);

    int updateByPrimaryKeySelective(PhRole record);

    int updateByPrimaryKey(PhRole record);
}
